Skip to content

Conversation

ilia-medvedev-codefresh
Copy link
Contributor

What

Remove unnecessary call to GetUserByID that requires admin token to get the account admins info. Instead infer admin info from /user endpoint which returns the info for all users. As admins are also users the data is there, it is enough to just locate the admins in this existing list.

Why

Closes #131

Notes

Checklist

@ilia-medvedev-codefresh
Copy link
Contributor Author

/test

1 similar comment
@ilia-medvedev-codefresh
Copy link
Contributor Author

/test

@ilia-medvedev-codefresh
Copy link
Contributor Author

/test

@ilia-medvedev-codefresh ilia-medvedev-codefresh merged commit e85e923 into master Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: codefresh_current_account data source returns 403
2 participants